﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="companynewslist.aspx.cs" Inherits="Ecreate.Web.systemanage.news.companynewslist" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <asp:Button ID="btnAdd" runat="server" Text="新增" onclick="btnAdd_Click" />
    <asp:GridView ID="gv" runat="server" Width="600px" AutoGenerateColumns="False">
        <Columns>
            <asp:HyperLinkField Text="修改" DataNavigateUrlFields="id" DataNavigateUrlFormatString="./companynews.aspx?type=edit&id={0}" />
            <asp:HyperLinkField Text="删除" DataNavigateUrlFields="id" DataNavigateUrlFormatString="./companynews.aspx?type=del&id={0}" />
            <asp:BoundField DataField="id" HeaderText="序号">
            <HeaderStyle Width="40px" />
            </asp:BoundField>
            <asp:BoundField DataField="news_title" HeaderText="标题" />
            <asp:BoundField DataField="news_date" HeaderText="日期" />
        </Columns>
    </asp:GridView>
    </div>
    </form>
</body>
</html>
